package com.couchcrowler.client;

import java.util.List;

import com.couchcrowler.shared.Profile;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	String greetServer(String name) throws IllegalArgumentException;
	
	Profile getProfile(String id);

	List<Profile> getProfiles(List<String> ids);
}
